const setItem = (name, tokenInfo) => {
  localStorage.setItem(name, JSON.stringify(tokenInfo))
}
const getItem = (name) => {
  return JSON.parse(localStorage.getItem(name))
}
const removeItem = (name) => {
  localStorage.removeItem(name)
}
export {
  setItem,
  getItem,
  removeItem
}
